package cate.common.table.activity.goldegg.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.goldegg.row.GoldEggRewardPoolRow;

import java.util.List;
import java.util.stream.Collectors;

public class GoldEggRewardPoolSheet extends ESheet<GoldEggRewardPoolRow> {
    @Override
    public String getSheetName() {
        return "砸金蛋奖励池";
    }

    public List<GoldEggRewardPoolRow> getPoolListByGroup(int group) {
        return getList().stream().filter(row->row.group==group).collect(Collectors.toList());
    }
}
